package com.ship.dispatch.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ship.common.business.service.BaseService;
import com.ship.common.core.base.Page;
import com.ship.common.core.web.domain.JsonResult;
import com.ship.dispatch.bean.SpOverhaul;
import com.ship.dispatch.bo.SpOverhaulBO;
import com.ship.dispatch.vo.SpOverhaulVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SpOverhaulService extends BaseService<SpOverhaul> {
    JsonResult schemeAdd(SpOverhaul spOverhaul);

    JsonResult<SpOverhaul> getListInfo(SpOverhaulBO spOverhaulBO);

    JsonResult<Object> getshipList();

    void delApply(Long id);

    String export(SpOverhaulVo spOverhaulVo) throws IOException;

//    String uploadFile(String filePath, String id);

    SpOverhaul detail(Long id);

    void updateCon(SpOverhaul spOverhaul);

    List<Map<String, String>> shipAndImo();

    List<Map<String, String>> nowShipAndImo();

    void cancelDelete(String businessKey, Integer staus);
}
